#include "SDLImage.h"

SDLImage::SDLImage(): GComponent()
{
	image = NULL;
	type = 2;
}

SDLImage::SDLImage(SDL_Surface* image): Gcomponent()
{
	this->image = image;
}

SDL_Surface* SDLImage::getImage()
{
	return image;
}

void SDLImage::update()
{
	//Nothing to do
}
